package com.beidouapp.service;

import java.util.List;
import java.util.Map;

import com.beidouapp.domain.pojo.DrugMsg;
import com.beidouapp.domain.pojo.DrugReference;

public interface DrugsService {
    List<DrugReference> getDrugReferences(String kw);

    void saveOrgUpdateDrugs(DrugReference drugReference);

    DrugReference getDrugDetailById(String id);

    void saveLeaveMsg(DrugMsg drugMsg);

    List<DrugMsg> getDrugMsgList(DrugMsg drugMsg);

    public List<DrugReference> findDrugsByMap(Map<String, Object> params, Integer offset, Integer limit);

    public Integer findDrugsCountByMap(Map<String, Object> params);

    void deleteDrugs(String id);
}
